const { Schema, SchemaTypes } = require('../schema');
// 充值套餐
class ChargePackage extends Schema {
    PropertyModelDataTemplate () {
        return {
            areaId: { type: SchemaTypes.ObjectId, required: true },
            isEnable: { type: SchemaTypes.Boolean, required: true, default: true },
            createTime: { type: SchemaTypes.Number, required: true, default: require('../../module/tool/time').getCurrentTimestamp() },

            fee: { type: SchemaTypes.Number, required: true, comment: '充值金额' },
            giftFee: { type: SchemaTypes.Number, required: true, comment: '赠送金额' }
        };
    }
}

module.exports = ChargePackage;
